import request from './request'

export const statsApi = {
  // 获取总体统计
  getOverview() {
    return request.get('/stats/overview')
  },

  // 获取每日加工统计
  getDailyProcess(days = 7) {
    return request.get('/stats/daily-process', { params: { days } })
  },

  // 获取每日审核统计
  getDailyAudit(days = 7) {
    return request.get('/stats/daily-audit', { params: { days } })
  },

  // 获取趋势数据
  getTrends(days = 7) {
    return request.get('/stats/trends', { params: { days } })
  }
}

